<?session_start();
//退出系统，清空那个什么
	unset($_SESSION['adminName']);
	session_destroy();   
	setcookie('cookie_admin',"",time()-3600);
?>
<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<body>
	<?
	echo "<script>alert('已经退出');</script>";
	echo "<script>window.location.href='login.php'</script>";
	exit
	?>
</body>
</html>